package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenj
 * @since 2019-11-06
 */
public class Attr extends Model<Attr> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 属性名称表id
     */
    private String attrNameId;

    private String attrValue;

    private Date time;

    private String companyId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getAttrNameId() {
        return attrNameId;
    }

    public void setAttrNameId(String attrNameId) {
        this.attrNameId = attrNameId;
    }
    public String getAttrValue() {
        return attrValue;
    }

    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue;
    }
    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Attr{" +
            "id=" + id +
            ", attrNameId=" + attrNameId +
            ", attrValue=" + attrValue +
            ", time=" + time +
            ", companyId=" + companyId +
        "}";
    }
}
